package com.wuye.model.customer;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * Created by zhanchi on 2016/7/1.
 */
public class Record implements Serializable{
    public String toString() {
        try {
            return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE);
        } catch (Exception e) {
            return e.getMessage();
        }
    }
    private Integer recordId;//
    private Integer recordUid;
    private Integer custId;//表单id
    private Integer primaryId;//一级标题
    private Integer secondId;//二级标题
    private String selectName;//默认选项
    private String recordMessage;//备注信息

    public Record(Integer recordId, Integer recordUid, Integer custId, Integer primaryId, Integer secondId, String selectName, String recordMessage) {
        this.recordId = recordId;
        this.recordUid = recordUid;
        this.custId = custId;
        this.primaryId = primaryId;
        this.secondId = secondId;
        this.selectName = selectName;
        this.recordMessage = recordMessage;
    }

    public Record() {
    }

    public Integer getRecordId() {
        return recordId;
    }

    public void setRecordId(Integer recordId) {
        this.recordId = recordId;
    }

    public Integer getRecordUid() {
        return recordUid;
    }

    public void setRecordUid(Integer recordUid) {
        this.recordUid = recordUid;
    }

    public Integer getCustId() {
        return custId;
    }

    public void setCustId(Integer custId) {
        this.custId = custId;
    }

    public Integer getPrimaryId() {
        return primaryId;
    }

    public void setPrimaryId(Integer primaryId) {
        this.primaryId = primaryId;
    }

    public Integer getSecondId() {
        return secondId;
    }

    public void setSecondId(Integer secondId) {
        this.secondId = secondId;
    }

    public String getSelectName() {
        return selectName;
    }

    public void setSelectName(String selectName) {
        this.selectName = selectName;
    }

    public String getRecordMessage() {
        return recordMessage;
    }

    public void setRecordMessage(String recordMessage) {
        this.recordMessage = recordMessage;
    }
}
